forked from cryptonotefoundation/cryptonote
-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Overt transactions #114
Open
aivve
wants to merge
19
commits into
seredat:master
Choose a base branch
from
aivve:feature/public_txs
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Overt transactions #114
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…tion (which are just also denominations)
Nice Work. |
…ress for overt txs
The #122 will have impact on this: not always, but sender will have to pay for the overt tx extra fee. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
overt /əʊˈvəːt,ˈəʊvət/ adjective, done or shown openly; plainly apparent.
Karbo is built on CryptoNote protocol that ensures privacy of the transactions by default. Payments in Karbo are untraceable and unlinkable thanks to cryptographic technology ring signature. All transactions are signed on behalf of a group so that it is impossible to determine who exactly from the the group signed transaction and, accordingly, one can not say with certainty who carried out the payment. Moreover, the transactions can not be linked, because by using a variation of the Diffie-Hellman exchange protocol, it is sent to a receiver’s unique one-time address, derived from his single public key. After funds are sent to these one-time addresses they can only be redeemed by the receiver and it would be impossible to cross-link payments.
But there are cases where users would actually want to send a transparent transaction, for example, for compliance with local regulations. For this case, we introduce the “Overt transactions” which adds the ability to send a public transaction or a private transaction on a per transaction basis. This approach is backward compatible and does not require a hardfork. It leverages the same techniques that are used in a so-called “Proof of payment”, introduced to Karbo previously.
The “overt transaction” is a normal transaction that includes a special attachment in its “extra” field that contains disclosures of sender and recipient(s) public addresses and corresponding cryptographic signatures proving payment to destination by only revealing key derivation, not the actual transaction secret key, and allowing to determine which transaction outputs belongs to which address, as well as received amounts. These transactions, however, do not reveal involved parties’s wallet balances, nor previous or subsequent operations.
The disclosure attachment in transaction's extra consists of:
To find out who is the sender iterate through addresses from vector and try to check the signature until it's valid.